
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title> 部门管理</title>

    <jsp:include page="/static/common/easyui-header.jsp"></jsp:include>
    <script type="text/javascript"  src="/static/js/views/dept.js"></script>

</head>
    <style>
        #dept_form td {
            padding: 5px 0px;
        }
    </style>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body" style="height: 750px">
            <%--自己写的管理--%>
            <table id="dept_datagrid"></table>
            <!--左上方工具栏-->
            <div id="toolbar">
                <div>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="changeState">改变状态</a>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
                </div>

            <%--<!--模态框-->--%>
            <div id="dept_dialog">
                <form id="dept_form" method="post">
                    <table style="margin: 0px auto;margin-top: 20px;">
                        <input type="hidden" id="dept" name="id" />
                        <tr>
                            <td>编号:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="sn"/>
                            </td>
                        </tr>
                        <tr>
                        <td>名称:</td>
                        <td><input type="text" class="easyui-textbox" name="name"/>
                        </td>
                    </tr>

                        <%--<tr>--%>
                            <%--<td>经&emsp;理</td>--%>
                            <%--<td><input id="combobox_dept" class="easyui-combobox" name="employee.id"--%>
                                       <%--data-options="valueField:'id',textField:'name',url:'/employee/queryEmpName'" />   </td>--%>
                        <%--</tr>--%>

                    </table>
                </form>

                <%--<!--模态框管理-->--%>
                <div id="form_btns">
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-save" plain="true"
                       data-cmd="save">保存</a>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-cancel" plain="true"
                       data-cmd="cancel">取消</a>
                </div>
            </div>

        </div>
    </div>
</div>
</body>
</html>